<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>hellovue</title>
</head>
<body>

<h1>借力好风</h1>
<!--view层 模板-->
<div id="app">
<!--    {{message}}-->
    <span v-bind:title="message">
        鼠标悬停看详细信息
    </span>
</div>

<!--1.导入vue.js-->
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js"></script>
<script>
    var vm = new Vue({
        el: "#app",
        // Model：数据
        data: {
            message: "hello,vue!"
        }
    });
</script>
</body>
</html>